﻿<UserControl x:Class="Save_Editor.Controls.ctrlHumanManager"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:m="clr-namespace:Save_Editor.Controls"
             mc:Ignorable="d" Height="229" Width="352" MaxWidth="352" MinWidth="352" MinHeight="229" MaxHeight="229">
    <UserControl.Resources>
        <m:NullBoolToBool x:Key="nbTob" />
    </UserControl.Resources>
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="151" />
            <ColumnDefinition Width="200" />
            <ColumnDefinition Width="167*" />
        </Grid.ColumnDefinitions>
        <Label Content="Player" Height="28" HorizontalAlignment="Right" Margin="0,6,6,0" VerticalAlignment="Top" HorizontalContentAlignment="Right" />
        <Label Content="Reputation" Height="28" HorizontalAlignment="Right" Margin="0,40,6,0" VerticalAlignment="Top" />
        <Label Content="Last Reputation Reported" Height="28" HorizontalAlignment="Right" Margin="0,74,6,0" VerticalAlignment="Top" />
        <Label Content="Zombie Killed Reputation" Height="28" HorizontalAlignment="Right" Margin="0,108,6,0" VerticalAlignment="Top" />
        <Label Content="Families Collected" Height="28" HorizontalAlignment="Right" Margin="0,142,6,0" VerticalAlignment="Top" />
        <Label Content="{Binding Player}" Grid.Column="1" Height="28" Margin="0,6,6,0" VerticalAlignment="Top" />
        <TextBox Text="{Binding Reputation}" Height="28" Margin="0,40,6,0" VerticalAlignment="Top" Grid.Column="1" />
        <TextBox Text="{Binding LastReputationChangeReported}" Height="28" Margin="0,74,6,0" VerticalAlignment="Top" Grid.Column="1" />
        <TextBox Text="{Binding ZombieKilledReputationCounter}" Height="28" Margin="0,108,6,0" VerticalAlignment="Top" Grid.Column="1" />
        <Label Content="{Binding FamiliesCollected}" Height="28" Margin="0,142,6,0" VerticalAlignment="Top" Grid.Column="1" />
        <ComboBox ItemsSource="{Binding Humans}" Height="23" Margin="6,176,87,0" Name="comboBox1" VerticalAlignment="Top" Grid.ColumnSpan="2" />
        <Button Content="Open" Grid.Column="1" Height="23" HorizontalAlignment="Left" Margin="119,176,0,0" VerticalAlignment="Top" Width="75" Click="Button_Click" />
        <CheckBox Content="First Day" IsChecked="{Binding FirstDay, Converter={StaticResource nbTob}}" Height="16" Margin="6,205,6,0" Name="checkBox1" VerticalAlignment="Top" Grid.ColumnSpan="2" />
    </Grid>
</UserControl>
